  /*暗黑模式#*/
.theme-mode-dark  {
  * {
    font-family: Menlo, Monaco, Consolas, Courier, monospace;
  }
  .demo-block {
    border: solid 1px var(--borderColor)!important;
    border-radius: 3px;
    transition: 0.2s;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .demo-block .meta .code-content > div,
  .demo-block .meta div[class*="language-"] {
    background: var(--customBlockBg)!important;
  }
  .demo-block .meta div[class*="language-"] {
    border: none;
    border-radius: 0;
  }
  .demo-block .meta div[class*="language-"]::before {
    color: #fafafa!important;
  }
  .demo-block .meta pre code,
  .demo-block .meta pre[class*="language-"] code,
  .demo-block .meta .token.operator {
    color: var(--codeColor)!important;
  }
  .demo-block .meta .code-content div[class*="language-"].line-numbers-mode::after {
    width: 2rem;
    background-color: var(--customBlockBg)!important;
    border-right: 1px solid var(--borderColor)!important;
    //border: none;
  }
  .demo-block .meta .code-content div[class*="language-"].line-numbers-mode .line-numbers-wrapper .line-number {
    color: #f08d49!important;
  }
  .demo-block .meta .code-content div[class*="language-"].line-numbers-mode .line-numbers-wrapper {
    width: 2rem;
  }
  .demo-block .meta .code-content div[class*="language-"].line-numbers-mode pre {
    padding-left: 2.5rem;
  }
  .demo-block .meta pre[class*="language-"]::-webkit-scrollbar {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    background-color: #fafafa;
  }
  .demo-block .meta pre[class*="language-"]::-webkit-scrollbar-track {
    background-color: #fafafa;
  }
  .demo-block .meta pre[class*="language-"]::-webkit-scrollbar-thumb {
    background-color: #CBCBCB;
  }
  .demo-block .meta .token.tag,
  .demo-block .meta .token.punctuation,
  .demo-block .meta .token.attr-name,
  .demo-block .meta .token.keyword,
  .demo-block .meta .token.function,
  .demo-block .meta .hljs-selector-class,
  .demo-block .meta .token.selector {
    color: #6ec2ff!important;
  }
  .demo-block .meta .token.attr-value,
  .demo-block .meta .token.string {
    color: #f08d49!important;
  }
  .demo-block .meta .token.property {
    color: #cc99cd!important;
  }
  .demo-block.hover {
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.4), 0 2px 4px 0 rgba(0, 0, 0, 0.1)!important;
  }
  .demo-block code {
    font-family: Menlo, Monaco, Consolas, Courier, monospace;
    font-weight: 400;
  }
  .demo-block .demo-button {
    float: right;
  }
  .demo-block .demo-content {
    padding: 24px;
    //background-color: var(--borderColor)!important;
  }
  .demo-block .meta {
    background: var(--customBlockBg)!important;
    border-top: solid 1px var(--borderColor)!important;
    overflow: hidden;
    height: 0;
    transition: height 0.2s;
  }
  .demo-block .description {
    border-bottom: 1px solid var(--borderColor)!important;
    padding: 20px;
    box-sizing: border-box;
    border: solid 1px var(--borderColor)!important;
    border-radius: 3px;
    font-size: 14px;
    line-height: 22px;
    color: #666;
    word-break: break-word;
    margin: 10px;
    background-color: #fff;
  }
  .demo-block .description + .code-content {
    border-top: 1px solid var(--borderColor)!important;
  }
  .demo-block .demo-block-control {
    border-top: solid 1px var(--borderColor)!important;
    height: 44px;
    box-sizing: border-box;
    background-color: var(--borderColor)!important;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    text-align: center;
    margin-top: -1px;
    color: #d3dce6;
    cursor: pointer;
    position: relative;
  }
  .demo-block .demo-block-control.is-fixed {
    position: fixed;
    bottom: 0;
    width: 660px;
    z-index: 999;
  }
  .demo-block .demo-block-control .icon {
    font-family: element-icons !important;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: baseline;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
  }
  .demo-block .demo-block-control .caret-top::before {
    content: "";
    position: absolute;
    right: 50%;
    width: 0;
    height: 0;
    border-bottom: 7px solid #ccc;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
  }
  .demo-block .demo-block-control .caret-bottom::before {
    content: "";
    position: absolute;
    right: 50%;
    width: 0;
    height: 0;
    color: #d3dce6;
    border-top: 7px solid #ccc;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
  }
  .demo-block .demo-block-control i {
    font-size: 16px;
    line-height: 44px;
    transition: 0.3s;
  }
  .demo-block .demo-block-control i.hovering {
    transform: translateX(-40px);
  }
  .demo-block .demo-block-control > span {
    position: absolute;
    transform: translateX(-30px);
    font-size: 12px;
    line-height: 44px;
    transition: 0.3s;
    display: inline-block;
  }
  .demo-block .demo-block-control .copy-action {
    right: 0px;
    color: #3182bd;
  }
  .demo-block .demo-block-control.copying {
    transform: translateX(-44px);
  }
  .demo-block .demo-block-control:hover {
    color: #3182bd;
    background-color: #f9fafc;
  }
  .demo-block .demo-block-control .text-slide-enter,
  .demo-block .demo-block-control .text-slide-leave-active {
    opacity: 0;
    transform: translateX(10px);
  }
  .demo-block .demo-block-control .bounce-enter-active {
    font-weight: bolder;
  }
  .demo-block .demo-block-control .control-button {
    line-height: 26px;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 14px;
    padding-left: 5px;
    padding-right: 25px;
  }

}


/*阅读模式*/
.theme-mode-read {
  .demo-block {
    border: solid 1px var(--borderColor)!important;
    border-radius: 3px;
    transition: 0.2s;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .demo-block .meta .code-content > div,
  .demo-block .meta div[class*="language-"] {
    background: var(--codeBg)!important;
  }
  .demo-block .meta div[class*="language-"] {
    border: none;
    border-radius: 0;
  }
  .demo-block .meta div[class*="language-"]::before {
    color: #fafafa!important;
  }
  .demo-block .meta pre code,
  .demo-block .meta pre[class*="language-"] code,
  .demo-block .meta .token.operator {
    color: var(--codeColor)!important;
  }
  .demo-block .meta .code-content div[class*="language-"].line-numbers-mode::after {
    width: 2rem;
    background: var(--codeBg)!important;
    border-right: 1px solid var(--borderColor)!important;
    //border: none;
  }
  .demo-block .meta .code-content div[class*="language-"].line-numbers-mode .line-numbers-wrapper .line-number {
    color: #f08d49!important;
  }
  .demo-block .meta .code-content div[class*="language-"].line-numbers-mode .line-numbers-wrapper {
    width: 2rem;
  }
  .demo-block .meta .code-content div[class*="language-"].line-numbers-mode pre {
    padding-left: 2.5rem;
  }
  .demo-block .meta pre[class*="language-"]::-webkit-scrollbar {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    background-color: red!important;
  }
  .demo-block .meta pre[class*="language-"]::-webkit-scrollbar-track {
    background-color: #fafafa;
  }
  .demo-block .meta pre[class*="language-"]::-webkit-scrollbar-thumb {
    background-color: #CBCBCB;
  }
  .demo-block .meta .token.tag,
  .demo-block .meta .token.punctuation,
  .demo-block .meta .token.attr-name,
  .demo-block .meta .token.keyword,
  .demo-block .meta .token.function,
  .demo-block .meta .hljs-selector-class,
  .demo-block .meta .token.selector {
    color: #6ec2ff!important;
  }
  .demo-block .meta .token.attr-value,
  .demo-block .meta .token.string {
    color: #f08d49!important;
  }
  .demo-block .meta .token.property {
    color: #cc99cd!important;
  }
  .demo-block.hover {
    box-shadow: 0 0 8px 0 rgba(232, 237, 250, 0.6), 0 2px 4px 0 rgba(232, 237, 250, 0.5);
  }
  .demo-block code {
    font-family: Menlo, Monaco, Consolas, Courier, monospace;
  }
  .demo-block .demo-button {
    float: right;
  }
  .demo-block .demo-content {
    padding: 24px;
    //background-color: var(--borderColor)!important;
  }
  .demo-block .meta .code-content div[class*="language-"].line-numbers-mode::after {
    width: 2rem;
    background: var(--codeBg)!important;
    border: 1px solid var(--borderColor)!important;
  }
  .demo-block .meta {
    background: var(--codeBg)!important;
    border-top: solid 1px var(--borderColor)!important;
    overflow: hidden;
    height: 0;
    transition: height 0.2s;
  }
  .demo-block .description {
    border-bottom: 1px solid var(--borderColor)!important;
    padding: 20px;
    box-sizing: border-box;
    border: solid 1px var(--borderColor)!important;
    border-radius: 3px;
    font-size: 14px;
    line-height: 22px;
    color: #666;
    word-break: break-word;
    margin: 10px;
    background-color: #fff;
  }
  .demo-block .description + .code-content {
    border-top: 1px solid var(--borderColor)!important;
  }
  .demo-block .demo-block-control {
    border-top: solid 1px var(--borderColor)!important;
    height: 44px;
    box-sizing: border-box;
    background: var(--codeBg)!important;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    text-align: center;
    margin-top: -1px;
    color: #d3dce6;
    cursor: pointer;
    position: relative;
  }
  .demo-block .demo-block-control.is-fixed {
    position: fixed;
    bottom: 0;
    width: 660px;
    z-index: 999;
  }
  .demo-block .demo-block-control .icon {
    font-family: element-icons !important;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: baseline;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
  }
  .demo-block .demo-block-control .caret-top::before {
    content: "";
    position: absolute;
    right: 50%;
    width: 0;
    height: 0;
    border-bottom: 7px solid #ccc;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
  }
  .demo-block .demo-block-control .caret-bottom::before {
    content: "";
    position: absolute;
    right: 50%;
    width: 0;
    height: 0;
    color: #d3dce6;
    border-top: 7px solid #ccc;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
  }
  .demo-block .demo-block-control i {
    font-size: 16px;
    line-height: 44px;
    transition: 0.3s;
  }
  .demo-block .demo-block-control i.hovering {
    transform: translateX(-40px);
  }
  .demo-block .demo-block-control > span {
    position: absolute;
    transform: translateX(-30px);
    font-size: 12px;
    line-height: 44px;
    transition: 0.3s;
    display: inline-block;
  }
  .demo-block .demo-block-control .copy-action {
    right: 0px;
    color: #3182bd;
  }
  .demo-block .demo-block-control.copying {
    transform: translateX(-44px);
  }
  .demo-block .demo-block-control:hover {
    color: #3182bd;
    background-color: #f9fafc;
  }
  .demo-block .demo-block-control .text-slide-enter,
  .demo-block .demo-block-control .text-slide-leave-active {
    opacity: 0;
    transform: translateX(10px);
  }
  .demo-block .demo-block-control .bounce-enter-active {
    font-weight: bolder;
  }
  .demo-block .demo-block-control .control-button {
    line-height: 26px;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 14px;
    padding-left: 5px;
    padding-right: 25px;
  }

}

.theme-mode-light {
  .demo-block .meta .token.tag,
  .demo-block .meta .token.punctuation,
  .demo-block .meta .token.attr-name,
  .demo-block .meta .token.keyword,
  .demo-block .meta .token.function,
  .demo-block .meta .hljs-selector-class,
  .demo-block .meta .token.selector {
    color: #3182bd !important;
  }
  .demo-block .meta .code-content div[class*="language-"].line-numbers-mode::after {
    width: 2rem;
    background: var(--codeBg)!important;
    border-right: 1px solid var(--borderColor)!important;
  }
}

.demo-block
  code
    letter-spacing 0
    font-weight 500!important
    font-size 12px!important
    line-height 1.75
    -webkit-font-smoothing: auto;
    *
      font-family: Menlo, Monaco, Consolas, Courier, monospace;

